namespace TSL.BLL
{
    using System;
    using System.Collections.Generic;
    using System.Data;
    using TSL.DAL;
    using TSL.Model;

    public class BetMenu
    {
        private readonly TSL.DAL.BetMenu dal = new TSL.DAL.BetMenu();

        public void AddBetMenu(SYS_BetMenu model)
        {
            this.dal.AddBetMenu(model);
        }

        public void Delete(string ID)
        {
            this.dal.Delete(ID);
        }

        public void DeleteBetMenu(string ID)
        {
            this.dal.DeleteBetMenu(ID);
        }

        public bool Exists(string name, string id)
        {
            return this.dal.Exists(name, id);
        }

        public List<SYS_BetMenu> GetListArray()
        {
            return this.dal.GetListArray("");
        }

        public List<SYS_BetMenu> GetListArray(string strWhere)
        {
            return this.dal.GetListArray(strWhere);
        }

        public DataSet GetListFromView(string strWhere)
        {
            return this.dal.GetListFromView(strWhere);
        }

        public SYS_BetMenu GetModel(string ID)
        {
            return this.dal.GetModel(ID);
        }

        public SYS_BetMenu GetModel(string name, string password)
        {
            return this.dal.GetModel(name, password);
        }

        public DataSet GetMySet(string strWhere)
        {
            return this.dal.GetMySet(strWhere);
        }

        public DataSet GetPlayInfo(string strWhere)
        {
            return this.dal.GetPlayInfo(strWhere);
        }

        public void Update(SYS_BetMenu model)
        {
            this.dal.Update(model);
        }
    }
}

